package com.project.bean;

/**
 * @author RJ
 * @date 2022/9/14 8:52
 */
/*
    出库物品
 */
public class OutDrugBean {
    //药剂器械商品
    private DrugBean theDrug;
    //领用数量
    private Integer num;

    public OutDrugBean() {
    }

    public OutDrugBean(Integer drugId, Integer num) {
        this.theDrug = new DrugBean();
        this.theDrug.setDrugId(drugId);
        this.num = num;
    }

    public DrugBean getTheDrug() {
        return theDrug;
    }

    public void setTheDrug(DrugBean theDrug) {
        this.theDrug = theDrug;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    @Override
    public String toString() {
        return "OutDrugBean{" +
                "theDrug=" + theDrug +
                ", num=" + num +
                '}';
    }
}
